#include <stdio.h>

main(){
    int c, t = 0, n = 0, s = 0;

    while((c = getchar()) != EOF){
        switch(c){
            case '\t':
                ++t;
                break;
            case '\n':
                ++n;
                break;
            case ' ':
                ++s;
                break;
        }
    }

    printf("制表符：%d\n", t);
    printf("换行符：%d\n", n);
    printf("空格符：%d\n", s);
}
